package com.pe.pgn.clubpgn.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author Frank
 * */

@Entity
@Table(name = "clpm_serie_canje")
public class ClpmSerieCanje extends CamposAuditoria{

	private static final long serialVersionUID = -7897359326795542842L;
	
	private String coSerie;
	private String deSerie;

	@Column(name = "de_serie", nullable = false, length = 100)
	public String getDeSerie() {
		return deSerie;
	}
	
	public void setDeSerie(String deSerie) {
		this.deSerie = deSerie;
	}

	@Override
	public boolean equals(Object o) {
		return false;
	}

	@Override
	public int hashCode() {
		return 0;
	}

	@Override
	public String toString() {
		return this.deSerie;
	}

	@Transient
	public String getCoSerie() {
		return coSerie;
	}

	public void setCoSerie(String coSerie) {
		this.coSerie = coSerie;
	}
}
